package com.qf.java2201.service.impl;

import com.qf.java2201.mapper.UserMapper;
import com.qf.java2201.pojo.User;
import com.qf.java2201.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wxf
 * @Date 2022/4/25 15:19
 **/

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(String username, String password) {

        return userMapper.login(username, password);
    }
}
